package com.sim.core.packets;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Description ForbiddenWordsReqBody
 * @Author zl
 * @Date 2021/7/29 0029
 * @Version 1.0
 **/
@Data
public class ForbiddenWordsReqBody extends Message{

    private static final long serialVersionUID = -5746728291912295003L;

    /** 禁言/解禁用户id */
    @NotBlank(message = "用户id不能为空。")
    private String userId;

    /** 禁言/解禁的群组id */
    @NotBlank(message = "群组id不能为空。")
    private String groupId;

    /** 禁言状态 true:禁言 false:解禁 */
    @NotNull(message = "禁言结果不能为空。")
    private Boolean forbiddenStatus;

}
